<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs">
<head>
<title>浮点扩展部分 1 ：二进制浮点算术</title>
<meta charset="UTF-8">
<meta name="generator" content="MediaWiki 1.21.2">
<link rel="shortcut icon" href="../../../common/favicon.ico">
<link rel="stylesheet" href="../../../common/ext.css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="../../../common/site_modules.css">
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}#toc{display:none}.editsection{display:none}
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-css:7:15cea3ec788a65b5187d4018eed543bf */</style>

<script src="../../../common/startup_scripts.js"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"c/experimental/fpext1","wgTitle":"c/experimental/fpext1","wgCurRevisionId":61982,"wgArticleId":8459,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Todo with reason"],"wgBreakFrames":false,"wgPageContentLanguage":"zh","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgMonthNamesShort":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRelevantPageName":"c/experimental/fpext1","wgUserVariant":"zh","wgRestrictionEdit":[],"wgRestrictionMove":[]});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":0,"showtoolbar":1,"skin":"cppreference2","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"zh","language":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"gadget-MathJax":1,"gadget-ColiruCompiler":1});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});;},{},{});
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-js:7:258d7cd6aa9aa67dee25e01fb6a9e505 */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script>
<style type="text/css">/*<![CDATA[*/
.source-c {line-height: normal;}
.source-c li, .source-c pre {
	line-height: normal; border: 0px none white;
}
/**
 * GeSHi Dynamically Generated Stylesheet
 * --------------------------------------
 * Dynamically generated stylesheet for c
 * CSS class: source-c, CSS id: 
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 * --------------------------------------
 */
.c.source-c .de1, .c.source-c .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.c.source-c  {font-family:monospace;}
.c.source-c .imp {font-weight: bold; color: red;}
.c.source-c li, .c.source-c .li1 {font-weight: normal; vertical-align:top;}
.c.source-c .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.c.source-c .li2 {font-weight: bold; vertical-align:top;}
.c.source-c .kw1 {color: #0000dd;}
.c.source-c .kw2 {color: #0000ff;}
.c.source-c .kw3 {color: #0000dd;}
.c.source-c .kw4 {color: #0000ff;}
.c.source-c .co1 {color: #909090;}
.c.source-c .co2 {color: #339900;}
.c.source-c .coMULTI {color: #ff0000; font-style: italic;}
.c.source-c .es0 {color: #008000; font-weight: bold;}
.c.source-c .es1 {color: #008000; font-weight: bold;}
.c.source-c .es2 {color: #008000; font-weight: bold;}
.c.source-c .es3 {color: #008000; font-weight: bold;}
.c.source-c .es4 {color: #008000; font-weight: bold;}
.c.source-c .es5 {color: #008000; font-weight: bold;}
.c.source-c .br0 {color: #008000;}
.c.source-c .sy0 {color: #008000;}
.c.source-c .sy1 {color: #000080;}
.c.source-c .sy2 {color: #000040;}
.c.source-c .sy3 {color: #000040;}
.c.source-c .sy4 {color: #008080;}
.c.source-c .st0 {color: #008000;}
.c.source-c .nu0 {color: #000080;}
.c.source-c .nu6 {color:#000080;}
.c.source-c .nu8 {color:#000080;}
.c.source-c .nu12 {color:#000080;}
.c.source-c .nu16 {color:#000080;}
.c.source-c .nu17 {color:#000080;}
.c.source-c .nu18 {color:#000080;}
.c.source-c .nu19 {color:#000080;}
.c.source-c .ln-xtra, .c.source-c li.ln-xtra, .c.source-c div.ln-xtra {background-color: #ffc;}
.c.source-c span.xtra { display:block; }

/*]]>*/
</style><!--[if lt IE 7]><style type="text/css">body{behavior:url("/mwiki/skins/cppreference2/csshover.min.htc")}</style><![endif]--></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-c_experimental_fpext1 skin-cppreference2 action-view cpp-navbar">
        <!-- header -->
        <!-- /header -->
        <!-- content -->
<div id="cpp-content-base">
            <div id="content">
                <a id="top"></a>
                <div id="mw-js-message" style="display:none;"></div>
                                <!-- firstHeading -->
<h1 id="firstHeading" class="firstHeading">浮点扩展部分 1 ：二进制浮点算术</h1>
                <!-- /firstHeading -->
                <!-- bodyContent -->
                <div id="bodyContent">
                                        <!-- tagline -->
                    <div id="siteSub">来自cppreference.com</div>
                    <!-- /tagline -->
                                        <!-- subtitle -->
                    <div id="contentSub"><span class="subpages">&lt; <a href="../../c.html" title="c">c</a>‎ | <a href="../experimental.html" title="c/experimental">experimental</a></span></div>
                    <!-- /subtitle -->
                                                            <!-- bodycontent -->
                    <div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr"><div class="t-navbar" style=""><div class="t-navbar-sep"> </div><div class="t-navbar-head"><a href="../../c.html" title="c"> C</a><div class="t-navbar-menu"><div><div><table class="t-nv-begin" cellpadding="0" style="line-height:1.1em;">
<tr class="t-nv"><td colspan="5"> <a href="../language.html" title="c/language">语言</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../header.html" title="c/header">头文件</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../types.html" title="c/types">类型支持</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../program.html" title="c/program">程序工具</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../variadic.html" title="c/variadic">变参数函数支持</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../memory.html" title="c/memory">动态内存管理</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../error.html" title="c/error">错误处理</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../chrono.html" title="c/chrono">日期和时间工具</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../string.html" title="c/string">字符串库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../algorithm.html" title="c/algorithm">算法</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../numeric.html" title="c/numeric">数值</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../io.html" title="c/io">输入/输出支持</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../locale.html" title="c/locale">本地化支持</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../thread.html" title="c/thread">线程支持</a> <span class="t-mark-rev t-since-c11">(C11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../atomic.html" title="c/atomic">原子操作</a> <span class="t-mark-rev t-since-c11">(C11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../experimental.html" title="c/experimental">技术规范</a> </td></tr>
</table></div><div></div></div></div></div><div class="t-navbar-sep"> </div><div class="t-navbar-head"><a href="../experimental.html" title="c/experimental">技术规范</a><div class="t-navbar-menu"><div><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/embedded&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/embedded（页面不存在）">对嵌入式处理器的扩展</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="dynamic.html" title="c/experimental/dynamic">动态内存扩展</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <strong class="selflink">浮点扩展部分 1 ：二进制浮点</strong> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="fpext4.html" title="c/experimental/fpext4">浮点扩展部分 4 ：补充函数</a> </td></tr>
</table></div><div></div></div></div></div><div class="t-navbar-sep"> </div><div class="t-navbar-head"><strong class="selflink">浮点扩展部分 1 ：二进制浮点算术</strong><div class="t-navbar-menu"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=Template:c/experimental/fpext1/navbar_content&amp;action=edit&amp;redlink=1" class="new" title="Template:c/experimental/fpext1/navbar content（页面不存在）">Template:c/experimental/fpext1/navbar content</a><div></div></div></div></div><div class="t-navbar-sep"> </div></div>
<p>C 浮点扩展 - 部分 1 ：二进制浮点算术， ISO/IEC TS 18661-1:2014 ，为 C 标准库定义下列新组件，它们为 ISO/IEC/IEEE 60559:2011 （ IEEE-754 的当前版本）所推荐。
</p>
<table class="t-dsc-begin">

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>__STDC_IEC_60559_BFP__</span></span></div></div>
</td>
<td>   <span class="t-c"><span class="mw-geshi c source-c"><span class="kw4">long</span></span></span> 类型值为 <span class="t-c"><span class="mw-geshi c source-c">201ymmL</span></span> 的整数常量，，取代 <span class="t-lc">__STDC_IEC_559__</span> <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>__STDC_IEC_60559_COMPLEX__</span></span></div></div>
</td>
<td>   <span class="t-c"><span class="mw-geshi c source-c"><span class="kw4">long</span></span></span> 类型值为 <span class="t-c"><span class="mw-geshi c source-c">201ymmL</span></span> 的整数常量，取代 <span class="t-lc">__STDC_IEC_559_COMPLEX__</span> <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;limits.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>CHAR_WIDTH SCHAR_WIDTH UCHAR_WIDTH</span><span>SHRT_WIDTH USHRT_WIDTH</span><span>INT_WIDTH UINT_WIDTH</span><span>LONG_WIDTH ULONG_WIDTH</span><span>LLONG_WIDTH ULLONG_WIDTH</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  对应类型的宽度，以位数表示 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;float.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/CR_DECIMAL_DIG&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/CR DECIMAL DIG（页面不存在）"> <span class="t-lines"><span>CR_DECIMAL_DIG</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  所有受支持二进制浮点类型和字符序列间的转换至多准确舍入到 CR_DECIMAL_DIG 位十进制有效数字（至少是 DECIMAL_DIG + 3 ） <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;fenv.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>femode_t</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  实现支持的动态浮点控制模式的总集，包含动态舍入方向模式 <br> <span class="t-mark">(typedef)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>FE_DFL_MODE</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  指向默认 femode_t 的指针 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>FE_SNANS_ALWAYS_SIGNAL</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  若 sNaN 参数导致压制 gNaN 的函数，如 <span class="t-lc"><a href="../numeric/math/hypot.html" title="c/numeric/math/hypot">hypot</a></span> 或 <span class="t-lc"><a href="../numeric/math/fmax.html" title="c/numeric/math/fmax">fmax</a></span> ，引发 FE_INVALID 并返回 gNaN ，则定义此宏（为整数常量 1 ） <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fesetexcept&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fesetexcept（页面不存在）"> <span class="t-lines"><span>fesetexcept</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  设置给定的浮点异常标志，并且不导致任何引发它们所产生的副效应 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fetestexceptflag&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fetestexceptflag（页面不存在）"> <span class="t-lines"><span>fetestexceptflag</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  测试给定的标志是否在保存的浮点异常标志表示中 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fegetmode_fesetmode&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fegetmode fesetmode（页面不存在）"> <span class="t-lines"><span>fegetmode</span><span>fesetmode</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  整体地获取和设置所有实现的动态浮点控制模式 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;stdint.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>INTn_WIDTH UINTn_WIDTH</span><span>INT_LEASTn_WIDTH UINT_LEASTn_WIDTH</span><span>INT_FASTn_WIDTH UINT_FASTn_WIDTH</span><span>INTPTR_WIDTH UINTPTR_WIDTH</span><span>INTMAX_WIDTH  UINTMAX_WIDTH</span><span>PTRDIFF_WIDTH</span><span>SIG_ATOMIC_WIDTH</span><span>SIZE_WIDTH</span><span>WCHAR_WIDTH WINT_WIDTH</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  对应类型的宽度，以位数表示 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;stdlib.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/strfromf&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/strfromf（页面不存在）"> <span class="t-lines"><span>strfromd</span><span>strfromf</span><span>strfroml</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用指定的 snprintf 格式转换单个浮点值到字符串 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;math.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>FP_INT_UPWARD</span><span>FP_INT_DOWNWARD</span><span>FP_INT_TOWARDZERO</span><span>
FP_INT_TONEARESTFROMZERO</span><span>FP_INT_TONEAREST</span><span></span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   函数 ceil 、 floor 、 trunc 、 round ，及 roundeven 的舍入方向，适用于 fromfp 系列函数 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>FP_LLOGB0</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  若参数为零则 <span class="t-lc">llogb</span> 所返回的值 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>FP_LLOGBNAN</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  若参数为 NaN 则 <span class="t-lc">llogb</span> 所返回的值 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/SNAN&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/SNAN（页面不存在）"> <span class="t-lines"><span>SNANF</span><span>SNAN</span><span>SNANL</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  各表示 float 、 double 、 long double 的引发信号的 NaN <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>FP_FAST_FADD FP_FAST_FADDL FP_FAST_DADDL</span><span>FP_FAST_FSUB FP_FAST_FSUBL FP_FAST_DSUBL</span><span>FP_FAST_FMUL FP_FAST_FMULL FP_FAST_DMULL</span><span>FP_FAST_FDIV FP_FAST_FDIVL FP_FAST_DDIVL</span><span>FP_FAST_FFMA FP_FAST_FFMAL FP_FAST_DFMAL</span><span>FP_FAST_FSQRT FP_FAST_FSQRTL FP_FAST_DSQRTL</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  倘若定义，则指示对应的函数执行快于较大类型的等价函数后随到目标类型的转型 <br> <span class="t-mark">(宏常量)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>iseqsig</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <br> <span class="t-mark">(宏函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>iscanonical</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  测试浮点值是否规范 <br> <span class="t-mark">(宏函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>issignaling</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  测试浮点值是否引发信号的 NaN <br> <span class="t-mark">(宏函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>issubnormal</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  测试浮点值是否非正规 <br> <span class="t-mark">(宏函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>iszero</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  测试浮点值是否为零（正、符、无符号） <br> <span class="t-mark">(宏函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fromfp&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fromfp（页面不存在）"> <span class="t-lines"><span>fromfp</span><span>fromfpf</span><span>fromfpl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用指定舍入方向舍入到有符号整数 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/ufromfp&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/ufromfp（页面不存在）"> <span class="t-lines"><span>ufromfp</span><span>ufromfpf</span><span>ufromfpl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用指定舍入方向舍入到无符号整数 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fromfpx&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fromfpx（页面不存在）"> <span class="t-lines"><span>fromfpx</span><span>fromfpxf</span><span>fromfpxl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用指定舍入方向舍入到有符号整数，报告不准确性 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/ufromfpx&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/ufromfpx（页面不存在）"> <span class="t-lines"><span>ufromfpx</span><span>ufromfpxf</span><span>ufromfpxl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用指定舍入方向舍入到无符号整数，报告不准确性 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/roundeven&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/roundeven（页面不存在）"> <span class="t-lines"><span>roundeven</span><span>roundevenf</span><span>roundevenl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  舍入到最近值，中间点情况下舍入到偶数 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/llogb&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/llogb（页面不存在）"> <span class="t-lines"><span>llogb</span><span>llogbf</span><span>llogbl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  等价于 <span class="t-lc"><a href="../numeric/math/logb.html" title="c/numeric/math/logb">logb</a></span> ，除了返回类型是 <span class="t-c"><span class="mw-geshi c source-c"><span class="kw4">long</span></span></span> <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fmaxmag&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fmaxmag（页面不存在）"> <span class="t-lines"><span>fmaxmag</span><span>fmaxmagf</span><span>fmaxmagl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  返回拥有较大绝对值的参数的值 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fminmag&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fminmag（页面不存在）"> <span class="t-lines"><span>fminmag</span><span>fminmagf</span><span>fminmagl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  返回拥有较小绝对值的参数的值 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/nextup&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/nextup（页面不存在）"> <span class="t-lines"><span>nextup</span><span>nextupf</span><span>nextupl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  返回下个较大的可表示浮点值 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/nextdown&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/nextdown（页面不存在）"> <span class="t-lines"><span>nextdown</span><span>nextdownf</span><span>nextdownl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  返回下个较小的可表示浮点值 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fadd&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fadd（页面不存在）"> <span class="t-lines"><span>fadd</span><span>faddl</span><span>daddl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  如同以无限精度并只舍入一次到目标类型计算 x+y  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fsub&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fsub（页面不存在）"> <span class="t-lines"><span>fsub</span><span>fsubl</span><span>dsubl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  如同以无限精度并只舍入一次到目标类型计算 x-y  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fmul&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fmul（页面不存在）"> <span class="t-lines"><span>fmul</span><span>fmull</span><span>dmull</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  如同以无限精度并只舍入一次到目标类型计算 x*y  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fdiv&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fdiv（页面不存在）"> <span class="t-lines"><span>fdiv</span><span>fdivl</span><span>ddivl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  如同以无限精度并只舍入一次到目标类型计算 x/y  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/ffma&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/ffma（页面不存在）"> <span class="t-lines"><span>ffma</span><span>ffmal</span><span>dfmal</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  如同以无限精度并只舍入一次到目标类型计算 <span class="t-lc"><a href="../numeric/math/fma.html" title="c/numeric/math/fma">fma</a></span> <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/fsqrt&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/fsqrt（页面不存在）"> <span class="t-lines"><span>fsqrt</span><span>fsqrtl</span><span>dsqrtl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  如同以无限精度并只舍入一次到目标类型计算 <span class="t-lc"><a href="../numeric/math/sqrt.html" title="c/numeric/math/sqrt">sqrt</a></span> <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/totalorder&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/totalorder（页面不存在）"> <span class="t-lines"><span>totalorder</span><span>totalorderf</span><span>totalorderl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用 ISO 60559 全序关系排序二个浮点值 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/totalordermag&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/totalordermag（页面不存在）"> <span class="t-lines"><span>totalordermag</span><span>totalordermagf</span><span>totalordermagl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  用 ISO 60559 全序关系排序二个浮点值 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/canonicalize&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/canonicalize（页面不存在）"> <span class="t-lines"><span>canonicalize</span><span>canonicalizef</span><span>canonicalizel</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  获得给定浮点值的 ISO 60559 规范二进制编码 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/getpayload&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/getpayload（页面不存在）"> <span class="t-lines"><span>getpayload</span><span>getpayloadf</span><span>getpayloadl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  从给定的 NaN 值提取出负载 <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/setpayload&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/setpayload（页面不存在）"> <span class="t-lines"><span>setpayload</span><span>setpayloadf</span><span>setpayloadl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  以指定负载创建安静的 NaN <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1/setpayloadsig&amp;action=edit&amp;redlink=1" class="new" title="c/experimental/fpext1/setpayloadsig（页面不存在）"> <span class="t-lines"><span>setpayloadsig</span><span>setpayloadsigf</span><span>setpayloadsigl</span></span></a></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>  以指定负载创建引发信号的 NaN  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc-header">
<td colspan="2"> <div>定义于头文件 <code>&lt;tgmath.h&gt;</code> </div>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>roundeven</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">roundeven</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>llogb</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">llogb</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fmaxmag</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fmaxmag</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fminmag</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fminmag</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>nextup</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">nextup</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>nextdown</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">nextdown</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fromfp</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fromfp</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>ufromfp</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">ufromfp</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fromfpx</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fromfpx</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>ufromfpx</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">ufromfpx</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>nextdown</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">nextdown</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>totalorder</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">totalorder</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>totalordermag</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">totalordermag</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fadd</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fadd</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>dadd</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">dadd</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fsub</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fsub</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>dsub</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">dsub</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fmul</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fmul</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>dmul</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">dmul</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fdiv</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fdiv</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>ddiv</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">ddiv</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>ffma</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">ffma</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>dfma</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">dfma</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>fsqrt</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">fsqrt</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><span class="t-lines"><span>dsqrt</span></span></div><div><span class="t-lines"><span><span class="t-mark-rev t-since-fpext1-ts t-mark-ts">(FP 扩展1 TS)</span></span></span></div></div>
</td>
<td>   <span class="t-lc">dsqrt</span> 的泛型重载  <br> <span class="t-mark">(函数)</span>
</td></tr>
</table>
<h3><span class="mw-headline" id=".E6.B3.A8.E6.84.8F">注意</span></h3>
<p>此技术规范弃用标准 C 宏 <span class="t-lc">__STDC_IEC_559__</span> 及 <span class="t-lc">__STDC_IEC_559_COMPLEX__</span> 。
</p><p>仅若在包含对应头文件前定义宏 <span class="t-c"><span class="mw-geshi c source-c">__STDC_WANT_IEC_60559_BFP_EXT__</span></span> ，才声明此扩展添加到 C 库的所有函数和宏。
</p><p>在对标准库的添加以外， ISO/IEC TS 18661-1:2014 做了一些对语言核心的改动，值得注意的是将浮点控制分割为静态（由新的 <span class="t-c"><span class="mw-geshi c source-c"><span class="co2">#pragma STDC FENV_ROUND</span></span></span> 控制）和动态（由 <span class="t-lc"><a href="../numeric/fenv/feround.html" title="c/numeric/fenv/feround">fesetround</a></span> 控制）。若设置了静态舍入模式，则大多数 math.h 的函数考虑静态舍入模式优先于动态舍入模式。
</p>
<table class="metadata plainlinks ambox mbox-small-left ambox-notice" style=""><tr><td class="mbox-empty-cell"></td><td class="mbox-text" style="">本节未完成<br>原因：添加到 pragma 页面或在此完整描述 pragma ？ </td></tr></table>

<!-- 
NewPP limit report
Preprocessor visited node count: 8061/1000000
Preprocessor generated node count: 12014/1000000
Post‐expand include size: 207668/2097152 bytes
Template argument size: 73428/2097152 bytes
Highest expansion depth: 17/40
Expensive parser function count: 0/100
-->

<!-- Saved in parser cache with key mwiki1-mwiki_zh_:pcache:idhash:8459-0!*!0!*!*!2!zh!* and timestamp 20200216175913 -->
</div>                    <!-- /bodycontent -->
                                        <!-- printfooter -->
                    <div class="printfooter">
                    来自“<a href="https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1&amp;oldid=61982">https://zh.cppreference.com/mwiki/index.php?title=c/experimental/fpext1&amp;oldid=61982</a>”                    </div>
                    <!-- /printfooter -->
                                                            <!-- catlinks -->
                    <!-- /catlinks -->
                                                            <div class="visualClear"></div>
                    <!-- debughtml -->
                                        <!-- /debughtml -->
                </div>
                <!-- /bodyContent -->
            </div>
        </div>
        <!-- /content -->
        <!-- footer -->
        <div id="cpp-footer-base" class="noprint">
            <div id="footer">
                        <div id="cpp-navigation">
            <h5>导航</h5>
            <ul><li><a href="https://zh.cppreference.com/w/c/experimental/fpext1">Online version</a></li><li>Offline version retrieved 2020-03-14 18:00.</li></ul></div>
                        <ul id="footer-info">
                                    <li id="footer-info-lastmod"> 本页面最后修改于2019年8月5日 (星期一) 03:29。</li>
                                    <li id="footer-info-viewcount">此页面已被浏览过4,596次。</li>
                            </ul>
                    </div>
        </div>
        <!-- /footer -->
        <script>if(window.mw){
mw.loader.state({"site":"loading","user":"missing","user.groups":"ready"});
}</script>
<script src="../../../common/skin_scripts.js"></script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.hidpi","ext.gadget.MathJax","ext.gadget.ColiruCompiler"], null, true);
}</script>
<script src="../../../common/site_scripts.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2828341-1']);
_gaq.push(['_setDomainName', 'cppreference.com']);
_gaq.push(['_trackPageview']);
</script><!-- Served in 1.713 secs. -->
	</body>
<!-- Cached 20200216175913 -->
</html>